﻿@model Promocot.Models.Cliente

<script type="text/javascript">
    $(function () {
        $("#Nombre").val($("#nuevoCliente_Nombre").val());
    });
</script>
@using (Ajax.BeginForm("registrarCliente", new AjaxOptions { }))
{
<table>
<tr><td>Email: </td><td>@Html.EditorFor(model => model.email)</td></tr>
<tr><td></td><td>@Html.RadioButtonFor(model => model.sexo, 1) Masculino</td></tr>
<tr><td></td><td>@Html.RadioButtonFor(model => model.sexo, 2) Femenino </td></tr>
<tr><td></td><td>@Html.HiddenFor(model => model.Nombre) </td></tr>
<tr><td></td><td><input type="submit" value="Registrar Cliente" /></td></tr>
</table>
}
<div id="status"></div>